package com.basic.business.unsalableBacklog.domain;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.basic.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 滞销代办事项对象 t_unsalable_backlog
 *
 * @author zhaoxy_jn@163.com
 * @date 2025-06-24
 */
@Getter
@Setter
@ExcelIgnoreUnannotated
public class TUnsalableBacklog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 商品id */
    @ExcelProperty(value = "商品id")
    private String goodsId;

    /** 店铺id */
    @ExcelProperty(value = "店铺id")
    private String storeId;

    /** 上新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelProperty(value = "上新日期")
    private Date upNewDate;

    /** 商品标签 */
    @ExcelProperty(value = "商品标签")
    private String goodsLabel;

    /** 商品访客数 */
    @ExcelProperty(value = "商品访客数")
    private Integer goodsVisitorNumber;

    /** 收藏加购率 */
    @ExcelProperty(value = "收藏加购率")
    private Double collectTreasureBuyRate;

    //支付金额
    @ExcelProperty(value = "支付金额")
    private BigDecimal payAmount;

    //搜索访客数
    @ExcelProperty(value = "搜索访客数")
    private Integer searchVisitorNumber;

    //推广花费
    @ExcelProperty(value = "推广花费")
    private BigDecimal promotionExpenses;

    /** 推广占比 */
    @ExcelProperty(value = "推广占比")
    private Double promotionRatio;

    /** 判断类型 */
    @ExcelProperty(value = "判断类型")
    private String judgeType;

    /** 商品访客数等级 */
    @ExcelProperty(value = "商品访客数等级")
    private String goodsVisitorNumberLevel;

    /** 收藏加购率等级 */
    @ExcelProperty(value = "收藏加购率等级")
    private String collectTreasureBuyRateLevel;

    /** 行动点 */
    @ExcelProperty(value = "行动点")
    private String actionPoint;

    /** 商品访客数标准 */
    @ExcelProperty(value = "商品访客数标准")
    private Integer goodsVisitorNumberStandard;

    /** 收藏加购率标准 */
    @ExcelProperty(value = "收藏加购率标准")
    private Double collectTreasureBuyRateStandard;

    /** 负责人id */
    @ExcelProperty(value = "负责人id")
    private Long leaderId;

    /** 负责人 */
    @ExcelProperty(value = "负责人")
    private String leaderName;

    /** 优化动作 */
    @ExcelProperty(value = "优化动作")
    private String optimizeActions;

    /** 优化时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ExcelProperty(value = "优化时间")
    private Date optimizeTime;

    /** 优化时长(小时) */
    @ExcelProperty(value = "优化时长(小时)")
    private Double optimizationDuration;

    /** 优化评价结果 */
    @ExcelProperty(value = "优化评价结果")
    private String optimizeResult;

    /** 优化状态(0待优化 1已优化) */
    @ExcelProperty(value = "优化状态(0待优化 1已优化)")
    private Integer optimizeStatus;

    /** 状态 正常：NORMAL 删除：DELETED 锁定：LOCKED */
    @ExcelProperty(value = "状态 正常：NORMAL 删除：DELETED 锁定：LOCKED")
    private String status;

    /** 用户ID */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /** 部门ID */
    @ExcelProperty(value = "部门ID")
    private Long deptId;

    /** 商品图片 */
    @ExcelProperty(value = "商品主图")
    private String imgUrl;
}
